package org.focusj.scala.clazz

import scala.collection.mutable.ArrayBuffer

class NetWork {
    outter => class Member(val name: String) {
        //outter == NetWork.this
        //NetWork.this.members
        //outter.members
    }

    val members = new ArrayBuffer[Member]

    def join(name: String) = {
        val m = new Member(name)
        members += m
        m
    }
}

object NetWork {
    class Inner(area: String) {

    }
}